<script>
import Navbar from "../../components/navbar.vue";

export default {
  name: "video" ,
  components: {Navbar},
  data() {
    return {
      videoUrl: ''
    }
  },
  onLoad({ url }){
    // encodeURIComponent解码
    this.videoUrl = decodeURIComponent(url)
  }
}
</script>

<template>
  <div class="page" style="padding-bottom: 0;background-color: #000000">
    <Navbar showNavbar backColor="#fff" showBack title=""/>
    <video style="width: 100%; height: 100vh" :src="videoUrl" controls></video>
  </div>
</template>

<style scoped lang="scss">

</style>
